package com.itheima.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class EmpTemplate {

    @ExcelProperty("用户名")
    private String username;

    @ExcelProperty("密码")
    private String password;

    @ExcelProperty("手机号")
    private String mobile;

    @ExcelProperty("工号")
    private String workNumber;

    @ExcelProperty("头像地址")
    @ColumnWidth(15)
    private String staffPhoto;

    @ExcelProperty("聘用形式：1正式,2非正式")
    @ColumnWidth(40)
    private Integer formOfEmployment;

    @ExcelProperty("部门名称")
    @ColumnWidth(15)
    private String departmentName;

    @ExcelProperty("入职时间")
    @ColumnWidth(15)
    private String timeofentry;

    @ExcelProperty("转正时间")
    @ColumnWidth(15)
    private String correctionTime;

    @ExcelProperty("年龄")
    private Integer age;

    @ExcelProperty("学历")
    private String education;
}
